import request from '/src/axios.js'
import {baseUrl} from "@/config/env.js";

const erpUrl = baseUrl + '/api-erp-bi/'

/**
 * 产品分类销量分析
 */
export function biProductCategoryAPI(data) {
  return request({
    url: erpUrl + 'biRanking/contractProductRanKing',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}
